3c0139d1070aa63534d73da3289dc0f7267777bb,src/main/java/org/dbtools/android/domain/AndroidBaseManager.java,AndroidBaseManager,update,#SQLiteDatabase#T#,390
Before Change
throw new IllegalArgumentException("Invalid rowId [" + rowId + "] be sure to call create(...) before update(...)");
}
return update(db, e.getTableName(), e.getContentValues(), e.getIdColumnName(), rowId);
}
public int update(@Nonnull String tableName, @Nonnull ContentValues contentValues, @Nonnull String rowKey, long rowId) {
After Change
throw new IllegalArgumentException("Invalid rowId [" + rowId + "] be sure to call create(...) before update(...)");
}
return update(db, e.getContentValues(), e.getIdColumnName() + " = ?", new String[]{String.valueOf(rowId)});
}
public int update(@Nonnull ContentValues values, long rowId) {